package cn.tedu.reflection;/**
 * @Author 金帮嘉诚 @Date 2021-06-24 星期四 19:56
 */
/*本类用于测试*/

/**知识点*/
public class Student {
    String name;
    int age;

    public Student() {
    }

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }
    public void eat(){
        System.out.println("恰饭");
    }
    public void play(int n){
        System.out.println("今天和代码玩耍"+n+"小时");
    }
}
